home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
prog_c
/
cuj0896.zip
/
WAMPLER.ZIP
/
DRAWCMDW.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-24
|
1KB
|
36 lines
//================================================================
// mycmdwin.h: Header file for minimal prototype V application
// Copyright (C) 1995 Bruce E. Wampler
//================================================================
#ifndef DRAWCMDW_H
#define DRAWCMDW_H
#include <v/include/vcmdwin.h> // So we can use vCmdWindow
#include <v/include/vmenu.h> // For the menu pane
#include <v/include/vcmdpane.h> // command pane
#include <v/include/vpen.h> // for a pen
#include "drawcnv.h" // myCanvasPane class
class myCmdWindow : public vCmdWindow
{
friend int AppMain(int, char**); // allow AppMain access
public: //--------------------------------- public
myCmdWindow(char*, int, int); // Constructor with size
virtual ~myCmdWindow(); // Destructor
virtual void WindowCommand(ItemVal id, ItemVal val,
CmdType cType);
protected: //------------------------------ protected
private: //-------------------------------- private
// Pointers to panes this window contains
vMenuPane* myMenu; // For the menu bar
myCanvasPane* myCanvas; // For the canvas
vCommandPane* myCmdPane; // for the command pane
// other stuff
vPen _pen; // track pen color
char _fname[100]; // file name
};
#endif